.PHONY:all
all:CalClient CalServer

CalServer:CalServer.cpp
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

CalClient:CalClient.cpp
	g++ -o $@ $^ -std=c++11 -ljsoncpp

.PHONY:clean
clean:
	rm -f CalClient CalServer